package com.maxmlr.demo.spring.cloud.autoconfigure;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName MaxmlrDemoProperties
 * @Description TODO
 * @Author maxiao
 * @Date 2020/4/12 下午6:13
 * @Version V1.0
 */
@Data
@ToString
@Accessors(chain = true)
@ConfigurationProperties(prefix = "maxmlr.demo")
public class MaxmlrDemoProperties {

    public String name;

    public String [] path;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getPath() {
        return path;
    }

    public void setPath(String[] path) {
        this.path = path;
    }
}
